package com.shuma.shopmanage;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@org.springframework.boot.autoconfigure.SpringBootApplication
@MapperScan("com.shuma.shopmanage.usermoudle.mapper")
@EnableTransactionManagement
@ComponentScan(basePackages = {"com.shuma"})
@EnableFeignClients
@EnableDiscoveryClient
@EnableCaching
//@EnableDiscoveryClient
public class UserApplication {
    public static void main(String[] args) {

        SpringApplication.run(UserApplication.class,args);
    }
}